/*
 * AddMeatButtonMouseListener.cpp
 *
 *  Created on: 11-01-2011
 *      Author: Przemek
 */

#include "listener/AddMeatButtonMouseListener.hpp"
#include "world/creation/MeatCreateToolState.hpp"

AddMeatButtonMouseListener::AddMeatButtonMouseListener(CreationState* creationState) :
	creationState(creationState)
{

}

void AddMeatButtonMouseListener::mouseReleased(const MouseListener::EventArguments&)
{
	creationState->setCreateTool(new MeatCreateToolState());
}
